package com.example.votemanage.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.votemanage.entity.VoteUser;
import com.example.votemanage.mapper.VoteUserMapper;
import com.example.votemanage.service.IVoteUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.catalina.User;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xingcheng
 * @since 2024-06-06
 */
@Service
public class VoteUserServiceImpl extends ServiceImpl<VoteUserMapper, VoteUser> implements IVoteUserService {

    @Override
    public VoteUser selectByNameAndPassword(String userid, String password) {
        return baseMapper.selectByNameAndPassword(userid,password);
    }
}
